# _*_ coding:utf-8 _*_
# @Time  : 2023.05.17
# @Author: zizlee

class ShortFastMessage:
    CATEGORIES = {
        1: '短讯通',
        2: '24h快讯'
    }

    @classmethod
    def message_category(cls, category):
        return cls.CATEGORIES.get(category, '其他')


class PeriodReportConstant:
    CATEGORIES = {
        'EARLY': '晨报',
        'DAILY': '日报',
        'WEEKLY': '周报',
        'MONTHLY': '月报',
        'ANNUAL': '年报',
        'TECHNICAL': '技术解盘',
        'OTHERS': '其他'
    }

    @classmethod
    def report_category(cls, category):
        return cls.CATEGORIES.get(category, '其他')
